<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="http://cdn.bootcss.com/jquery/1.12.3/jquery.min.js"></script>
<script src="layer/layer.js"></script>


<script>
  layer.open({
    type: 2,
    title: false,
    area: ['630px', '360px'],
    shade: 0.8,
    closeBtn: 1,
    shadeClose: true,
    content: '../server/resource/videos/er.mp4'
  });
</script>

<style>
    video{
        width:100%;
    }
</style>
</body>
</html>